UseDiskCacheForReorg

Boolean

false

Purpose

The UseDiskCacheForReorg parameter controls how the database manages reorganization files.

By default, the reorganization process uses memory mapped files for output (.reo) files and input (.dat) files if the reorganization was read‑only. For large reorganizations, this means that an 80G byte database file, for example, uses at least one, and possibly two, 80G byte chunks of virtual memory, which could exhaust the virtual memory of the server. The memory would also not show up as being consumed by JADE, as it belonged to the operating system. With multiple reorganization workers, this problem would be multiplied.

Set the parameter to true if you want reorganizations to use database disk cache. All reorganization input and output then uses the database disk cache, and obeys all its settings. (See also "Disk Cache Memory Parameters" and "DiskCacheFreeMemoryTarget", elsewhere in this document.)

When this parameter is set to true, apply it to both the primary and secondary databases, if applicable.

See also "Location of Files in Reorganizations", in Chapter 14 of the JADE Developer’s Reference.

2020.0.02 and higher